home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Kris Zaklika',
- 'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
- 'Description': 'The effect of a backlit transparency. Original idea: Angela M. Cable.',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_MagnifyingLens():
- return {
- 'Darkness': 100,
- 'Defocus': 10,
- 'Frame': {
- 'FrameColor': (200,164,18),
- 'Material': App.Constants.LensFrameMaterial.DullRedPlastic,
- 'Style': App.Constants.LensFrameShape.Circular,
- 'Thickness': 11
- },
- 'Illumination': {
- 'LightList': [{
- 'LightColor': (178,97,0),
- 'LightDirection': (-0.0842,0.4859,0.4738),
- 'HighlightSize': 70
- },{
- 'LightColor': (255,255,255),
- 'LightDirection': (0.794409,0.607383,0),
- 'HighlightSize': 20
- },{
- 'LightColor': (128,128,128),
- 'LightDirection': (-0.0626497,-0.10265,-0.992743),
- 'HighlightSize': 0
- }],
- 'MaxAmbience': 83,
- 'MinAmbience': 28
- },
- 'LensSurface': {
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.false
- },
- 'Gloss': 57,
- 'Magnification': 41,
- 'LensMaterial': {
- 'Color': (166,117,0),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'LensOpacity': 13,
- 'Refraction': 57,
- 'ShapeType': App.Constants.LensShape.VCylindrical,
- 'Shininess': 67
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'MagnifyingLens', Preset_MagnifyingLens())
-
-